package com.wryyyyy.mapper;

import com.wryyyyy.entity.Hist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wryyyyy
 * @since 2023-11-12
 */
public interface HistMapper extends BaseMapper<Hist> {

    List<Hist> getHistByCond(Hist hist);

    List<Hist> selectAll(@Param("userId") String userId, @Param("start") Integer start, @Param("size") Integer size);

    Integer countAll(@Param("userId") String userId);
}
